home *** CD-ROM | disk | FTP | other *** search
- ; $VER: FileX install script 1.1 (14.10.93)
-
- ; language dependent definitions
-
- (if (= @language "Italiano")
- (
- (set deflang 1)
- (set txt_badkick "Richiest Kickstart 37.175 (OS 2.04)!")
- (set txt_askdir (cat "In quale directory vuoi installare " @app-name " ?"))
- (set txt_dirhelp
- (cat
- " Seleziona la directory dove " @app-name " e tutti i files"
- " e directory devono essere installati."
- )
- )
- (set txt_language "Spiacente,non ci sono altre lingue disponibili forsa in fututo...")
- (set txt_langhelp
- (cat
- " La documentazione su " @app-name " è disponibile in inglese e italiano"
- " così puoi selezionare la lingua desiderata."
- " Se stai usando OS 2.1 (o migliore) in futuro potrai scegliere altre"
- " lingue e l'appropriato catalogo dei files verrà copiato nel SYS:Catalogs"
- )
- )
- (set txt_english "Englisch")
- (set txt_tooltype
- (cat
- "Desideri usare altre lingue in futuro pre "@app-name"?"
- )
- )
- (set txt_tthelp
- (cat
- " A questo punto lo script di installazione aggiungerà il"
- " ToolType, LANGUAGE=Italiano così potrai modificare"
- " la lingua in futuro."
- )
- )
- )
- (
- (set deflang 2)
- (set txt_badkick "Kickstart 37.175 (OS 2.04) required!")
- (set txt_askdir (cat "In what directory do you want " @app-name " to be installed?"))
- (set txt_dirhelp
- (cat
- "Select the directory where " @app-name " and all requried"
- " files and subdirectories shall be located."
- )
- )
- (set txt_language "Sorry! But no athers languages are avaiable perhaps in the future...")
- (set txt_langhelp
- (cat
- "The documentation for " @app-name " is available in English"
- " and in Italian, and you may now select wich language(s) you"
- " want to install.\n\nIf you're using OS 2.1 (or better), the"
- " appropriate catalog files will be copied aswell to label all"
- " gadgets in the desired language."
- )
- )
- (set txt_english "English")
- (set txt_tooltype
- (cat
- "Do you want to use English as the default language when using "
- @app-name " in the future?"
- )
- )
- (set txt_tthelp
- (cat
- "At this point the installation script wants to add the"
- " ToolType entry LANGUAGE=english. You may modify this"
- " entry later if you wish."
- )
- )
- )
- )
-
- (if (< (/ (getversion "intuition.library" (resident)) 65536) 37)
- (
- (message txt_badkick)
- (exit)
- )
- )
-
- ; get the destination directory
- (set quickformatdir
- (askdir
- (prompt txt_askdir)
- (help txt_dirhelp)
- (newpath)
- (default "DH0:QuickFormat")
- )
- )
-
- ; ask which version to install and copy executable
-
- (copyfiles
- (source "QuickFormat")
- (dest quickformatdir)
- (infos)
- )
-
- (copyfiles
- (source "QFormat.confg")
- (dest "SYS:S")
- )
-
- (cat txt_language)
- (cat txtlanghelp)
-
- (tooltype
- (prompt txt_tooltype)
- (help txt_tthelp)
- (dest "QuickFormat")
- (settooltype "LANGUAGE" "Italiano")
- )
-
- (set @default-dest quickformatdir)
-
- ; end of script
-